/*
 * File     : IllegalEnumException.java
 * Created  : 1 Jan 2012
 *
 * Copyright © 2012 Matthew Wilson (mj. {my-surname} .uk {at} gmail.com)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.googlecode.dni.type.cenum;

/**
 * <p>
 *  Thrown when an enum is found at runtime that has illegal annotations.
 * </p>
 *
 * @author Matthew Wilson
 */
public class IllegalEnumException extends IllegalArgumentException
{

    /**
     * Creates a new instance.
     */
    public IllegalEnumException()
    {
        super();
    }

    /**
     * Creates a new instance.
     *
     * @param message
     *            the message
     * @param cause
     *            the cause
     */
    public IllegalEnumException( final String message, final Throwable cause )
    {
        super( message, cause );
    }

    /**
     * Creates a new instance.
     *
     * @param message
     *            the message
     */
    public IllegalEnumException( final String message )
    {
        super( message );
    }

    /**
     * Creates a new instance.
     *
     * @param cause
     *            the cause
     */
    public IllegalEnumException( final Throwable cause )
    {
        super( cause );
    }

}

